.PHONY:all
all:
	@cd Compiler_Server;\
	make;\
	cd -;\
	cd OJ_Server;\
	make;\
	cd -;

.PHONY:output
output:
	@mkdir -p output/Compiler_Server;\
	mkdir -p output/OJ_Server;\
	cp -rf Compiler_Server/temp output/Compiler_Server;\
	cp -rf Compiler_Server/compile output/Compiler_Server;\
	cp -rf OJ_Server/machine output/OJ_Server;\
	cp -rf OJ_Server/wwwroot output/OJ_Server;\
	cp -rf OJ_Server/oj_server output/OJ_Server;\

.PHONY:clean
clean:
	@cd Compiler_Server;\
	make clean;\
	cd -;\
	cd OJ_Server;\
	make clean;\
	cd -;\
	rm -rf output;